/**
 * Created by Edwin on 2015/12/16 0016.
 * 创建数据库连接
 */

var mongoose = require('mongoose');


var schema = mongoose.Schema({
	  name : String,
	  price:{ type: Number, default: 0 },
	  type: { type: Number, default: 2 },
	  sx:String,
	  time:Date
});

var Ingredient=mongoose.model('ingredients', schema)

module.exports = Ingredient;


